package cn.endeavour.product.mapper;


import cn.endeavour.basic.mapper.BaseMapper;
import cn.endeavour.product.domain.Product;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ProductMapper extends BaseMapper<Product> {
    /**
     * 上架
     * @param ids
     */
    void onSale(List<Long> ids);

    /**
     * 下架
     * @param ids
     */
    void offSale(List<Long> ids);

}
